package com.mdlaser.service;

import com.mdlaser.dto.LockedOrder;
import com.mdlaser.dto.OrderDetail;
import com.mdlaser.dto.OrdersWishesDto;
import com.mdlaser.entity.OrdersWishes;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wechat.pay.java.service.payments.jsapi.model.PrepayWithRequestPaymentResponse;
import com.wechat.pay.java.service.refund.model.Refund;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mdlaser
 * @since 2024-05-16
 */
public interface IOrdersWishesService extends IService<OrdersWishes> {

    OrderDetail getOrderDetailById(String orderId);

    List<OrderDetail> getList();

    List<OrderDetail> getMyOrders();

    OrderDetail post(OrdersWishesDto ordersWishesDto);

    PrepayWithRequestPaymentResponse createWxOrder(String orderId);


    List<Integer> getDisableAppTime(Date startTime, String languageId);

    Object vxPayCallBack(String requestBody);


    Refund refund(String orderId, String reason);

    Object vxRefundSuccess(String requestBody);

    void createPayOrder(String transactionId, String orderId);

    List<LockedOrder> getLockOrder();
}
